<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/public/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/public/css/public.css" media="all"/>

</head>
<body class="childrenBody">
<form class="layui-form layui-col-lg-offset1 layui-col-lg10 lay-col-md12" id="editForm">
    <input type="hidden" name="id" value="{{id}}"/>
    <input type="hidden" value="{{tranType}}" id="tranType"/>
    <input type="hidden" name="settlementNumber" id="settlementNumber" value="{{settlementNumber}}"/>

    <div class="layui-col-md12">
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">结算编号：</label>
                <div class="layui-input-block" style="color:#009feb">
                    {{settlementNumber}}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">付款日期：</label>
                <div class="layui-input-block" style="color:#009feb">
                    {{dateReceipt}}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">收款账户：</label>
                <div class="layui-input-block" style="color:#009feb" id="paymentAccount">
                    {{paymentAccount}}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">付款方类型：</label>
                <div class="layui-input-block" style="color:#009feb">
                    <input type="hidden" id="paymentUnitText" value="{{paymentUnit}}">
                    <input type="hidden" value="{{typePayer}}" id="typePayer"/>
                    {{if typePayer == 1}}
                    个人
                    {{else if typePayer == 2}}
                    单位
                    {{/if}}
                </div>
            </div>
        </div>
        <div class="layui-col-md6 paymentUnit" style="display: none">
            <div class="layui-form-item">
                <label class="layui-form-label">付款单位：</label>
                <div class="layui-input-block" style="color:#009feb" id="paymentUnit">
                    <input type="hidden" id="paymentUnitVal" value="{{paymentUnit}}">
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">付款人：</label>
                <div class="layui-input-block" style="color:#009feb">
                    {{drawee}}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">收款金额：</label>
                <div class="layui-input-block" style="color:#009feb">
                    {{paymentAmount}}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">已核销金额：</label>
                <div class="layui-input-block" id="amountCancelVerification" style="color:red">
                    {{amountCancelVerification}}
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">余额：</label>
                <!--余额-->
                <input type="hidden" value="{{yue}}" id="yue"/>
                <!--可用余额-->
                <input type="hidden" value="{{yue}}" id="availableBalance"/>
                <div class="layui-input-block" id="yueText" style="color:green">
                    {{yue}}
                </div>
            </div>
        </div>
    </div>
    <div class="layui-col-md12">
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">核销人：</label>
                <div class="layui-input-block" id="operation" style="color:#009feb">

                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <label class="layui-form-label">核销时间：</label>
                <div class="layui-input-block" id="operatingTime" style="color:#009feb">

                </div>
            </div>
        </div>
        <div class="layui-col-md12" id="info" style="margin-bottom: 30px; display: none">
            <label class="layui-form-label">已冲销明细：</label>
            <div class="layui-table-box" style="overflow: inherit">
                <div class="layui-table-body layui-table-main" style="overflow: inherit">
                    <table cellspacing="0" cellpadding="0" border="0" class="layui-table" lay-even="">
                        <thead>
                        <tr>
                            <td>
                                <div class="layui-table-cell">订单编号</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">下单日期</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">发运日期</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">业务类型</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">品名</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">箱型</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">箱号</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">收货人</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">结算人</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">应收总额</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">本次冲销余额</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">操作</div>
                            </td>
                        </tr>
                        </thead>
                        <tbody id="rowInof">
                        <!--<tr>
                            <td>
                                <select name="" class="">
                                    <option>请选择</option>
                                    <option>1</option>
                                </select>
                            </td>
                            <td>
                                <div class="layui-table-cell"></div>
                                <input class="layui-input layui-table-edit money" type="text"/>
                            </td>
                            <td>
                                <div class="layui-table-cell"></div>
                                <input class="layui-input layui-table-edit money" type="text"/>
                            </td>
                            <td>
                                <select name="">
                                    <option>请选择</option>
                                    <option>1</option>
                                </select>
                            </td>
                            <td>
                                <div class="layui-table-cell"></div>
                                <input class="layui-input layui-table-edit" type="text"/>
                            </td>
                            <td>
                                <div class="layui-table-cell"><a href="javascript:void(0)"
                                                                 style="color:#009feb;padding-left: 8px;"
                                                                 lay-event="del">删除</a></div>
                            </td>
                        </tr>-->
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="layui-col-md12" style="margin-bottom: 60px; ">
            <a class="layui-btn layui-btn-sm" id="selectOrder">选择应收单</a>
            <div class="layui-table-box" style="overflow: inherit">
                <div class="layui-table-body layui-table-main" style="overflow: inherit">
                    <table cellspacing="0" cellpadding="0" border="0" class="layui-table" lay-even="">
                        <thead>
                        <tr>
                            <td>
                                <div class="layui-table-cell">下单日期</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">发运日期</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">业务类型</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">品名</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">箱型</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">箱号</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">收货人</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">结算人</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">应收总额</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">可冲销余额</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">本次冲销余额</div>
                            </td>
                            <td>
                                <div class="layui-table-cell">操作</div>
                            </td>
                        </tr>
                        </thead>
                        <tbody id="row">
                        <!--<tr>
                            <td>
                                <select name="" class="">
                                    <option>请选择</option>
                                    <option>1</option>
                                </select>
                            </td>
                            <td>
                                <div class="layui-table-cell"></div>
                                <input class="layui-input layui-table-edit money" type="text"/>
                            </td>
                            <td>
                                <div class="layui-table-cell"></div>
                                <input class="layui-input layui-table-edit money" type="text"/>
                            </td>
                            <td>
                                <select name="">
                                    <option>请选择</option>
                                    <option>1</option>
                                </select>
                            </td>
                            <td>
                                <div class="layui-table-cell"></div>
                                <input class="layui-input layui-table-edit" type="text"/>
                            </td>
                            <td>
                                <div class="layui-table-cell"><a href="javascript:void(0)"
                                                                 style="color:#009feb;padding-left: 8px;"
                                                                 lay-event="del">删除</a></div>
                            </td>
                        </tr>-->
                        </tbody>
                        <tbody>
                        <tr>
                            <td colspan="2" align="center" style="color: green">
                                合计：
                            </td>
                            <td colspan="6">

                            </td>
                            <td style="color: green" id="accountsReceivableAmount">

                            </td>
                            <td style="color: green" id="canWritten">

                            </td>
                            <td style="color: green" id="sterilisation">

                            </td>
                            <td>

                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-col-md12">
        <div class="layui-form-item">
            <div class="layui-input-block">
                <a class="layui-btn" lay-submit="" lay-filter="receivables">保存</a>
                <a onclick="layuiFunciton.closeOpen(cancelVerification.voucherList.opneLayer)"
                   class="layui-btn layui-btn-primary">关闭</a>
            </div>
        </div>
    </div>
</form>
<script type="text/javascript" src="/public/js/jquery.min.js"></script>
<script type="text/javascript" src="/public/layui/layui.js"></script>
<script type="text/javascript" src="/js/public.function.js"></script>
<script type="text/javascript" src="js/cancelVerification.js"></script>
</body>
</html>